package com.mata.worktime.entity.user;

import java.util.ArrayList;
import java.util.List;


/**
 * @author:jidonglian
 * @description:
 * @date:Created in 2018/4/4  15:43
 * @modified By:
 */
public class TreeNode
{
    private String id;
    private String text;
    private String pId;
    private String checked;
    private String state = "";
    private List<TreeNode> children = new ArrayList<TreeNode>();

    public String getChecked()
    {
        return checked;
    }

    public void setChecked(String checked)
    {
        this.checked = checked;
    }

    public String getpId()
    {
        return pId;
    }

    public void setpId(String pId)
    {
        this.pId = pId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getText()
    {
        return text;
    }

    public void setText(String text)
    {
        this.text = text;
    }

    public String getState()
    {
        return state;
    }

    public void setState(String state)
    {
        this.state = state;
    }

    public List<TreeNode> getChildren() {
        return children;
    }

    public void setChildren(List<TreeNode> children) {
        this.children = children;
    }

}
